<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
	<div class="form-group" id="title">
		<label class="control-label col-xs-12 col-sm-2">标题:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="text" name="row[title]" class="form-control" data-rule="required" maxlength="50"/>
		</div>
	</div>
	<div class="form-group" id="contents">
		<label class="control-label col-xs-12 col-sm-2">详情:</label>
		<div class="col-xs-12 col-sm-8">
			<textarea id="c-content" name="row[content]" rows="5" cols="50" class="form-control editor" data-rule="required"></textarea>
		</div>
	</div>


	<div class="form-group hidden layer-footer">
		<div class="col-xs-2"></div>
		<div class="col-xs-12 col-sm-8">
			<button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
			<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
		</div>
	</div>
</form>
